package cn.silver.module.message.param;

import cn.silver.framework.mybatis.annotation.TableField;
import cn.silver.framework.mybatis.enums.SearchTypeEnums;
import cn.silver.framework.tenant.param.TenantParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.util.Date;

/**
 * 通知公告业务对象 sys_notice
 *
 * @author Michelle.Chung
 */

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(name = "TemplateParam", title = "消息管理-消息模板查询对象")
public class TemplateParam extends TenantParam {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(title = "发送渠道")
    @TableField(name = "channel", searchType = SearchTypeEnums.LIKE)
    private String channel;
    /**
     * 公告标题
     */
    @Schema(title = "公告标题")
    @TableField(name = "subject", searchType = SearchTypeEnums.LIKE)
    private String subject;
}
